package com.huaxia.service.product;

import com.huaxia.dao.product.BranchEvergreenMapper;
import com.huaxia.dao.product.BranchLuckMapper;
import com.huaxia.dao.product.SaleDeptEvergreenMapper;
import com.huaxia.dao.product.SaleDeptLuckMapper;
import com.huaxia.pojo.product.BranchEvergreen;
import com.huaxia.pojo.product.BranchLuck;
import com.huaxia.pojo.product.SaleDeptEvergreen;
import com.huaxia.pojo.product.SaleDeptLuck;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wangli 爱我华夏，爱我中华！
 * @date 2020/06/10 14:55
 */
@Service
public class ProductService {

    @Autowired
    private BranchEvergreenMapper branchEvergreenMapper;
    @Autowired
    private SaleDeptEvergreenMapper saleDeptEvergreenMapper;
    @Autowired
    private BranchLuckMapper branchLuckMapper;
    @Autowired
    private SaleDeptLuckMapper saleDeptLuckMapper;



    public List<BranchEvergreen> getBranchEvergreen(){

        return branchEvergreenMapper.getBranchEvergreen();
    }
    public List<SaleDeptEvergreen> getSaleDeptEvergreen(){

        return saleDeptEvergreenMapper.getSaleDeptEvergreen();
    }
    public List<BranchLuck> getBranchLuck(){

        return branchLuckMapper.getBranchLuck();
    }
    public List<SaleDeptLuck> getSaleDeptLuck(){

        return saleDeptLuckMapper.getSaleDeptLuck();
    }
}
